<?php
function chack_title($title)
{
	  $model = M("Goods"); 	
	  $map['title']=$title;  
	  $r = $model->where($map)->getField('title');
	  return $r;
}

?>